package com.hashset;

import java.util.Arrays;
import java.util.List;

public class ArraysTest {
    public static void main(String[] args) {
        Integer[] arr = {2,5,3,4};
        String s = Arrays.toString(arr);
        System.out.println(s);

        Integer[] arr1 = {1,2,3,4,5};
        boolean equals = Arrays.equals(arr1, arr);
        System.out.println(equals);

        Arrays.sort(arr);
        System.out.println(Arrays.toString(arr));
        Arrays.fill(arr,1,3,19);
        for (int i = 0; i < arr.length; i++) {
            System.out.println(arr[i]);
        }

        List<Integer> list = Arrays.asList(arr);





    }
}
